package com.liuheng.manager.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.liuheng.spzx.model.dto.product.CategoryBrandDto;
import com.liuheng.spzx.model.entity.product.Brand;
import com.liuheng.spzx.model.entity.product.CategoryBrand;

import java.util.List;

public interface CategoryBrandService extends IService<CategoryBrand> {
    Page<CategoryBrand> findByPage(int page, int limit, CategoryBrandDto categoryBrandDto);

    List<Brand> findBrandByCategoryId(Long categoryId);
}
